---
title: ChartGroup.CategoryCollection Method (PowerPoint)
keywords: vbapp10.chm692018
f1_keywords:
- vbapp10.chm692018
ms.assetid: 2a78756c-de98-0b7e-effb-b17552043d55
ms.date: 06/08/2017
ms.prod: powerpoint
---


# ChartGroup.CategoryCollection Method (PowerPoint)

Returns all the visible categories in the chart group, or the specified visible category.


## Syntax

 _expression_. **CategoryCollection**_(Index)_

 _expression_ A variable that represents a **ChartGroup** object.


### Parameters



|**Name**|**Required/Optional**|**Data type**|**Description**|
|:-----|:-----|:-----|:-----|
| _Index_|Optional|**Variant**|The index number in the visible category collection of the category to return.|
| _Index_|Optional|VARIANT||

### Return value

 **OBJECT**


